// 数组解构
const arr = [100, 200, 300];
// const [foo, bar, baz] = arr;
// const [, , baz] = arr;
const [foo, ...baz] = arr;
console.log(baz)
